# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=rpctools
pkgver=1.0
pkgrel=4
pkgdesc='Contains three separate tools for obtaining information from a system that is running RPC services'
url='https://packetstormsecurity.com/files/31879/rpctools-1.0.zip.html'
groups=('blackarch' 'blackarch-windows' 'blackarch-recon' 'blackarch-scanner')
license=('custom:unknown')
arch=('any')
source=("https://dl.packetstormsecurity.net/advisories/bindview/$pkgname-$pkgver.zip")
sha512sums=('067bf4a6ccf7fffd7eef9b90b9b32a474b67e71e55d574986d799b0e0eff18f29ef0f53daafcf4ff5923fddc4bc109788ee91c44ce9eb3afce296a38b0dbb17b')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  rm "$pkgname-$pkgver.zip"

  cp -a rpctools/. "$pkgdir/usr/share/windows/$pkgname"
}

